5 unsigned long long dp
[101][101];
9 for (int i
=0; i
<=100; ++i
){
10 dp
[i
][0] = dp
[i
][i
] = 1;
12 for (int i
=1; i
<=100; ++i
)
13 for (int j
=1; j
<=100; ++j
)
14 dp
[i
][j
] = dp
[i
-1][j
-1] + dp
[i
-1][j
];
19 cout
<< n
<< " things taken " << m
<< " at a time is " << dp
[n
][m
] << " exactly.\n";